home *** CD-ROM | disk | FTP | other *** search
/ 100 Plus Great Games 2 / 100PLUSV2.BIN / games / SphereShift.dxr / Internal_3_direction buttons.ls < prev    next >
Encoding:
Text File  |  2002-01-25  |  245 b   |  16 lines

  1. property spriteNum, direction
  2.  
  3. on new me, mySpriteNum
  4.   me.spriteNum = mySpriteNum
  5.   me.direction = setDirection()
  6.   return me
  7. end
  8.  
  9. on setDirection me
  10.   return symbol(sprite(spriteNum).member.name)
  11. end
  12.  
  13. on getDirection me
  14.   return direction
  15. end
  16.